package com.seek.springevent.event;

import com.seek.springevent.model.Loan;
import org.springframework.context.ApplicationEvent;

public class LoanAuditEvent extends ApplicationEvent {

    private static final long serialVersionUID = 6274081300026672023L;
    private Loan loan ;


    public LoanAuditEvent(Object source,Loan loan) {
        super(source);
    }

    public Loan getLoan() {
        return loan;
    }

    public void setLoan(Loan loan) {
        this.loan = loan;
    }
}
